package cn.yunyichina.scheduler.jobs.service.base.impl;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

import cn.yunyichina.provider.framework.dubbo.service.BaseService;
import cn.yunyichina.provider.framework.dubbo.service.CacheService;
import cn.yunyichina.provider.framework.dubbo.service.HisifaceService;
import cn.yunyichina.provider.framework.dubbo.service.PayService;
import cn.yunyichina.provider.iface.entity.base.OrderExceptionVo;
import cn.yunyichina.provider.iface.entity.base.OrderExtVo;
import cn.yunyichina.provider.iface.entity.common.ResCommon;
import cn.yunyichina.provider.iface.entity.common.Response;
import cn.yunyichina.provider.iface.entity.hisiface.clinic.PayVo;
import cn.yunyichina.provider.iface.entity.hisiface.clinic.PayVoResponse;
import cn.yunyichina.provider.iface.entity.pay.PaymentJournalVo;
import cn.yunyichina.scheduler.jobs.constant.BizConstant;
import cn.yunyichina.scheduler.jobs.service.base.SyncDataService;
import cn.yunyichina.utils.commons.DateUtils;
import cn.yunyichina.utils.convert.JsonUtils;
import cn.yunyichina.utils.convert.ObjectParser;

/**
 * 旧库和新库之间的用户、诊疗卡等信息同步
 * @author adriftor
 *
 */
@Service
public class SyncDataServiceImpl implements SyncDataService {

    private static final Logger logger = LoggerFactory.getLogger(SyncDataServiceImpl.class);

    @Override
    public void doExecute() {

         BaseService.callUnderlineFromInternal("yyt.base.syncdata.do", JsonUtils.toJsonString(new HashMap<String,String>()));
    }
}
